package com.yanti.domain.entity;

import java.util.Date;

import java.io.Serializable;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
/**
 * 用户错题本表(UserWrongQuestions)表实体类
 *
 * @author luo
 * @since 2025-04-07 15:36:28
 */
@SuppressWarnings("serial")
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("user_wrong_questions")
public class UserWrongQuestions  {
    //错题记录ID
    @TableId
    private Long id;

    //用户ID
    private String uid;
    //题目ID
    private Long questionId;
    //科目ID
    private Long subjectId;
    //章节ID
    private Long chapterId;
    //用户回答
    private String userAnswer;
    //题目难度（1-5级）
    private Integer difficulty;
    //错误次数
    private Integer errorCount;
    //最后练习时间
    private Date lastPracticedAt;
    //是否已掌握（0：未掌握，1：已掌握）
    private Integer isMastered;
    //创建时间
    private Date createdAt;
    //更新时间
    private Date updatedAt;



}

